% checks if synapse is active
function ifActive = checkSynapseActiveState(obj)
    if (obj.active == 1) && (obj.remainingTime == 0)
        ifActive = 1;
    else
        ifActive = 0;
    end
end